/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package BO;

import BO.Iter.LevelBO;
import DAO.Iter.LevelDao;
import TableModel.Level;
import java.util.List;

/**
 *
 * @author vt
 */
public class LevelBOImpl implements LevelBO{
    private LevelDao lveDao;

    public LevelDao getLveDao() {
        return lveDao;
    }

    public void setLveDao(LevelDao lveDao) {
        this.lveDao = lveDao;
    }
    @Override
    public List<Level> getAllLevel() {
        return lveDao.getAllLevel();
    }

    @Override
    public Level findLevelById(String id) {
        return lveDao.getLevel(id);
    }

    @Override
    public void add(Level a) {
        lveDao.add(a);
    }

    @Override
    public void update(Level a) {
        lveDao.update(a);
    }

    @Override
    public void delete(Level a) {
        lveDao.delete(a);
    }
    
}
